package com.jack.cms;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.support.SpringBootServletInitializer;

/**
 * Cms Web程序启动类
 *
 * @author JackYuan
 * @date 2017-05-21 9:43
 */
public class CmsServletInitializer extends SpringBootServletInitializer {

	protected final static Logger logger = LoggerFactory.getLogger(CmsServletInitializer.class);

	@Override
	protected SpringApplicationBuilder configure(SpringApplicationBuilder builder) {
		return builder.sources(CmsApplication.class);
	}

}
